package com.work.washer.aa;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName order_goods
 */
@TableName(value ="order_goods")
@Data
public class OrderGoods implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer orderId;

    /**
     * 
     */
    @JsonProperty("goods_id")
    @JsonAlias("goods_Id")
    private Integer goodsId;

    /**
     * 
     */
    @JsonAlias("sku_id")
    private Integer skuId;

    @TableField(exist = false)
    private Goods goodsInfo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}